network ifname

This command sets a RIP enabled interface by ifname. Both the sending and receiving of RIP packets will be enabled on the port specified in the network ifname command.

The no network ifname command disables RIP on the specified interface.

Syntax

network ifname
no network ifname  

Interface Type (ifname)

Interface ID

gigabitethernet

GigabitEthernet interface slot and port (VLAN ID is optional)

[SLOT/PORT.VLANID]

cellular

Cellular interface ID

0/0

gre

Tunnel GRE ID

[1-255] 

ipip

Tunnel IPIP ID

[1-255]

l2tp

L2TP ID

[0-99]

pppoe

PPPoE interface ID

[1-3]

pptp

PPTP ID

[0-99]

vlan

Vlan ID

[1-3999]

loopback

Loopback ID

[1-5]

bvi

Bridge interface

[1-255]

Default

NA

Command Mode

Privileged User

Example

This example sets the RIP enable interface by ifname.

(conf-router)# network vlan 1